
**************************************************************************************************************************************************
**************************************************************************************************************************************************
****** Institutionalized Defense Cooperation 
****** Journal of Conflict Resolution
****** Md Muhibbur Rahman
****** February 2026
**************************************************************************************************************************************************
**************************************************************************************************************************************************


********************************************************* Tables in the main text ****************************************************************


***** Load the main (monadic) data

use JCR_replication_data, clear 
xtset ccode year 

*_Note: use this data for following tables.




*** Table 1 – Mixed effects logit models

xtmelogit any_coup_dum dcacount defense prev_acoup polity_iv lnGDPpc || ccode: , intpoints(10)
estimates store m1
xtmelogit any_coup_dum dca_dum defense prev_acoup polity_iv lnGDPpc || ccode: , intpoints(10)
estimates store m2

xtmelogit any_coup_dum dcacount defense prev_acoup polity_iv lnGDPpc || ccode: if oecd==0, intpoints(10)
estimates store m3
xtmelogit any_coup_dum dca_dum defense prev_acoup polity_iv lnGDPpc || ccode: if oecd==0, intpoints(10)
estimates store m4

esttab m1 m2 m3 m4 using t1.tex, se r2 varwidth(30) label ///
star(* 0.10 ** 0.05 *** 0.01)




*** Table2 – Two-stage least square regression models

ivreg2 any_coup_dum defense prev_acoup polity_iv lnGDPpc (dcacount = L1_instrument), cluster(ccode) r 
estimates store im1
ivreg2 any_coup_dum defense prev_acoup polity_iv lnGDPpc  (dca_dum = L1_instrument), cluster(ccode) r 
estimates store im2

ivreg2 any_coup_dum defense prev_acoup polity_iv lnGDPpc (dcacount = L1_instrument) if oecd==0, cluster(ccode) r 
estimates store im3
ivreg2 any_coup_dum defense prev_acoup polity_iv lnGDPpc (dca_dum = L1_instrument) if oecd==0, cluster(ccode) r 
estimates store im4

esttab im1 im2 im3 im4 using t2.tex, se r2 varwidth(30) label ///
star(* 0.10 ** 0.05 *** 0.01)

*_Note: first stage models reported in the appendices (see the code in the tables_appendices_do file)



**************************************************************************************************************************************************


















































































margins dca_dum, atmeans at(lnmilexp==(-3(.5)20)) 
marginsplot, xdimension(at(lnmilexp)) recast(line) recastci(rarea) noci

logit any_coup_dum i.dca_dum defense prev_acoup polity2_P4 lngdppc_full c.lnmilexp lnmilper threat mid_fat3 extek recent_civilwar if oecd_OE==0, robust
margins dca_dum, atmeans at(lnmilexp==(-3(.5)20)) 
marginsplot, xdimension(at(lnmilexp)) recast(line) recastci(rarea) noci

............................................................................................................................................................




